Skip to content

fix(logging): fix logging bug in reject sampling#382

Merged
codelion merged 1 commit intoalgorithmicsuperintelligence:mainfrom
zigzagcai:fix-logging
Jan 28, 2026
Merged

fix(logging): fix logging bug in reject sampling#382
codelion merged 1 commit intoalgorithmicsuperintelligence:mainfrom
zigzagcai:fix-logging

Conversation

@zigzagcai
Copy link
Contributor

@zigzagcai zigzagcai commented Jan 21, 2026

Hi developers,

@codelion , I found there might be logging misuse in the code snippet of reject sampling.

                logger.log(
                    "Warning: Program %s has no embedding, skipping similarity check", other.id
                )

should be changed with

                logger.warning(
                    f"Program {other.id} has no embedding, skipping similarity check"
                )

@codelion codelion merged commit 67aca71 into algorithmicsuperintelligence:main Jan 28, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants